//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\VisaApiDemo.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\VisaApiDemo.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 296, 55
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About VisaApiDemo"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
    LTEXT           "VisaApiDemo Version 1.0",IDC_STATIC,40,10,119,8,
                    SS_NOPREFIX
    LTEXT           "Copyright © 1997-2001, Tektronix, Inc.  All Rights Reserved",
                    IDC_STATIC,40,25,196,8
    DEFPUSHBUTTON   "OK",IDOK,240,8,50,14,WS_GROUP
END

IDD_VISAAPIDEMO_DIALOG DIALOGEX 0, 0, 352, 241
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
    WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Visa API Demo"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "E&xit",IDCANCEL,224,4,120,14
    PUSHBUTTON      "viOpenDefaultRM()",IDC_OPEN_CLOSE_DEF_RM,224,24,120,14
    PUSHBUTTON      "viFindRsrc()",IDC_FIND_RSRC,224,44,120,14,WS_DISABLED
    PUSHBUTTON      "viParseRsrc()",IDC_PARSE_RSRC,224,64,120,14,WS_DISABLED
    PUSHBUTTON      "viOpen(<vi-session>)",IDC_OPEN_CLOSE,224,84,120,14
    PUSHBUTTON      "viGetAttribute / viSetAttribute...",IDC_ATTRIBUTES,224,
                    104,120,14,WS_DISABLED
    PUSHBUTTON      "viWrite()",IDC_VI_WRITE,224,124,120,14,WS_DISABLED
    PUSHBUTTON      "viRead()",IDC_VI_READ,224,144,120,14,WS_DISABLED
    PUSHBUTTON      "viWriteAsync()",IDC_VI_WRITE_ASYNC,224,164,120,14,
                    WS_DISABLED
    PUSHBUTTON      "viReadAsync()",IDC_VI_READ_ASYNC,224,184,120,14,
                    WS_DISABLED
    PUSHBUTTON      "enable I/O completion callback",IDC_EVENT_IO_COMPLETE,
                    224,204,120,14,WS_DISABLED
    PUSHBUTTON      "viClear()",IDC_VI_CLEAR,224,224,120,14,WS_DISABLED
    GROUPBOX        "Parameters for viOpen, viFindRsrc, and viParseRsrc",
                    IDC_STATIC,4,4,212,68
    LTEXT           "Resource name:",IDC_STATIC,12,17,52,12
    EDITTEXT        IDC_OPEN_RESOURCE_NAME,92,17,116,12,ES_AUTOHSCROLL
    CONTROL         "VI_EXCLUSIVE_LOCK",IDC_VI_EXCLUSIVE_LOCK,"Button",
                    BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,12,36,88,12
    CONTROL         "VI_LOAD_CONFIG",IDC_VI_LOAD_CONFIG,"Button",
                    BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,120,36,88,12
    LTEXT           "Timeout (ms):",IDC_STATIC,12,56,52,12
    EDITTEXT        IDC_TIMEOUT,92,56,28,12,ES_AUTOHSCROLL
    GROUPBOX        "Write data buffer (for viWrite/viWriteAsync)",
                    IDC_STATIC,4,76,212,44
    EDITTEXT        IDC_TEST_PARAMETER,12,88,196,28,ES_MULTILINE | 
                    ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
    GROUPBOX        "Results from VISA Operations",IDC_STATIC,4,124,212,112
    LTEXT           "ViStatus:",IDC_STATIC,12,137,32,10
    EDITTEXT        IDC_VI_STATUS,48,137,160,23,ES_MULTILINE | 
                    ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
    EDITTEXT        IDC_RESULT_INFO,12,164,196,68,ES_MULTILINE | 
                    ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | 
                    WS_VSCROLL
END

IDD_VISA_ATTRIBUTES DIALOG DISCARDABLE  0, 0, 240, 161
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
    WS_SYSMENU
CAPTION "VISA Attributes"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Close",IDCANCEL,184,8,52,14
    GROUPBOX        "VISA Attribute",IDC_STATIC,4,4,176,48
    COMBOBOX        IDC_ATTRIBUTE_LIST,12,16,164,56,CBS_DROPDOWNLIST | 
                    CBS_SORT | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Scope:",IDC_STATIC,12,36,28,8
    LTEXT           "",IDC_ATTR_SCOPE,44,36,48,8
    LTEXT           "Access:",IDC_STATIC,96,36,28,8
    LTEXT           "",IDC_ATTR_ACCESS,128,36,48,8
    GROUPBOX        "Get Attribute Value",IDC_STATIC,4,56,232,44
    PUSHBUTTON      "viGetAttribute",IDC_GET_ATTRIBUTE,176,68,56,14
    EDITTEXT        IDC_CURRENT_VALUE,12,68,160,24,ES_MULTILINE | 
                    ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
    GROUPBOX        "Set Attribute Value",IDC_STATIC,4,104,232,52
    LTEXT           "ViBoolean:",IDC_VI_BOOLEAN,12,116,36,10
    CONTROL         "VI_FALSE",IDC_VI_FALSE_VALUE,"Button",
                    BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP | WS_TABSTOP,
                    56,116,44,10
    CONTROL         "VI_TRUE",IDC_VI_TRUE_VALUE,"Button",BS_AUTORADIOBUTTON | 
                    BS_LEFTTEXT | WS_TABSTOP,108,116,44,10
    LTEXT           "ViType:",IDC_VI_DATA_TYPE,12,136,36,10
    EDITTEXT        IDC_VI_NEW_VALUE,56,136,92,12,ES_RIGHT | ES_NUMBER
    PUSHBUTTON      "viSetAttribute",IDC_SET_ATTRIBUTE,176,116,56,14
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,2
 PRODUCTVERSION 2,0,2,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "\0"
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "Simple  MFC application demonstrating VISA API access.\0"
            VALUE "FileVersion", "1, 0, 0, 2\0"
            VALUE "InternalName", "VisaApiDemo\0"
            VALUE "LegalCopyright", "Copyright © 1997-2001, Tektronix, Inc.  All Rights Reserved\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "VisaApiDemo.EXE\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "TekVisa\0"
            VALUE "ProductVersion", "2, 0, 2, 0\0"
            VALUE "SpecialBuild", "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 289
        TOPMARGIN, 7
        BOTTOMMARGIN, 48
    END

    IDD_VISAAPIDEMO_DIALOG, DIALOG
    BEGIN
        BOTTOMMARGIN, 233
    END

    IDD_VISA_ATTRIBUTES, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 233
        TOPMARGIN, 7
        BOTTOMMARGIN, 154
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ABOUTBOX            "&About VisaApiDemo..."
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\VisaApiDemo.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

